set pgsql_path=C:\Archivos de programa\PostgreSQL\8.2
set dbname=sisc4_2008-12-04_150148
set fdbname=%dbname%.backup
set username=ssp
set password=1234
set host=localhost
set port=5432

"%pgsql_path%\bin\createdb.exe" --host=%host% --port=%port% --username=%username% %dbname%
"%pgsql_path%\bin\pg_restore.exe" -i -h %host% -p %port% -U %username% -d %dbname% -v "%fdbname%"
pause